package com.jnshu.exception;

/**
 * @ClassName MyException
 * @Descrintion
 * @Author bd
 * @Date 2019/8/3 17:37
 * @Version 1.0
 **/
public class MyException extends RuntimeException {
    private static final long serialVersionUID = 3140923387302421057L;
    private Integer code;
    private String message;

    public MyException(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }


}
